class CreateLoots < ActiveRecord::Migration
  def self.up
    create_table :loots do |t|
      t.column :item_id, :integer, :null => false
      t.column :raid_id, :integer, :null => false
      t.column :mob_id, :integer
      t.column :character_id, :integer
      t.column :price, :float, :default => 0.0
    end
  end

  def self.down
    drop_table :loots
  end
end
